module.exports = function () {
    const {io} = require('socket.io-client');
    let url = process.env.VUE_APP_SOCKET_URL || '/';
    console.log(url);
    this.socket = io(url, {
        query: {
            id: this.userData._id
        }
    })
}